package com.mars.module.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 店铺对象 sys_shop
 *
 * @author mars
 * @date 2024-01-24
 */

@Data
@ApiModel(value = "店铺对象")
@Builder
@Accessors(chain = true)
@TableName("sys_shop")
public class SysShop{

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 店铺名称
     */
    @Excel(name = "店铺名称")
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    @ApiModelProperty(value = "联系方式")
    private String telephone;
    /**
     * 店铺地址
     */
    @Excel(name = "店铺地址")
    @ApiModelProperty(value = "店铺地址")
    private String address;
}
